#!/usr/bin/python3
'''
num = input("please input a number:")
if num.isdigit():
    if 1<=int(num)<=100:
        print (num)
    else:
        print ("please input 1-100 number")
elif num.isalpha():
    print ("please input 1-100 number")
else:
    print ("please don't input charactor")
'''

try:
    num = input("please input a number:")
    if not num.isdigit():
        raise TypeError
    else:
        if 1<=int(num)<=100:
            print (num)
        else:
            raise ValueError
    
except TypeError:
    print ("please don't input specific character")
except ValueError:
    print ("please input number in range of 1-100")
